﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;

namespace YJKElementFinish.ColumnSurface.Forms
{
	public partial class RenameForm : System.Windows.Forms.Form
	{
		public string NewName { get; set; }

		public RenameForm(string oldName)
		{
			this.InitializeComponent();
			this.textBoxName.Text = oldName;
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			this.NewName = this.textBoxName.Text;
		}

		private void RenameForm_FormClosing(object sender, FormClosingEventArgs e)
		{
		}

		private void RenameForm_Load(object sender, EventArgs e)
		{
			//base.Icon = Resource.YArchitechIcon;
		}
	}
}
